import  request  from './index'


export async function getLoacl() {
  const res = await request.get(`/ip`)
  .then(res => {
    //console.log(res)
    return res
  })
  //console.log(res.data)
  return res.data
}